package net.stogi.dsper.ui.shared.module.dataobject;

import java.util.List;

import net.stogi.common.gwt.dispatch.shared.core.Result;
import net.stogi.dsper.api.dto.DataObjectDto;

public class ListDataObjectsResult implements Result {

	private static final long serialVersionUID = 8606941470032811223L;

	private List<DataObjectDto> dataObjects;

	public ListDataObjectsResult(List<DataObjectDto> dataObjects) {
		this.dataObjects = dataObjects;
	}

	protected ListDataObjectsResult() {}

	/**
	 * @return the dataObjects
	 */
	public List<DataObjectDto> getDataObjects() {
		return dataObjects;
	}

	/**
	 * @param dataObjects
	 *          the dataObjects to set
	 */
	public void setDataObjects(List<DataObjectDto> dataObjects) {
		this.dataObjects = dataObjects;
	}
}
